#ifndef GAME_H_INCLUDED
#define GAME_H_INCLUDED

#include <map>
#include <fstream>

#include "mission.h"

class Player;
class Mission;

class Game
{
public:
    Game();
    ~Game();

    void setPlayer(Player* p);
    void readMissions(std::ifstream& inf);
    void nextMission(const int& x);
    void saveGame(const std::string& saveName);
    void quitGame();
private:
    bool tosave;
    Player* playerChar;
    std::map<int, Mission*> quests;
    int currentMission;
    int missionCount;
};

#endif // GAME_H_INCLUDED
